package com.lanxin.mp.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyq
 * @since 2025-07-16
 */
@TableName("mp_contact")
public class MpContact implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private long oid;

    private Integer typeid;

    private String name;

    private String sex;

    private String company;

    @TableField(value = "homePhone")  // 明确指定表中列名
    private String homePhone;

    @TableField(value = "officePhone")
    private String officePhone;

    @TableField(value = "homeAddress")
    private String homeAddress;

    @TableField(value = "homeZipcode")
    private String homeZipcode;

    @TableField(value = "officeAddress")
    private String officeAddress;

    @TableField(value = "officeZipcode")
    private String officeZipcode;

    private String mobile;

    private String email1;

    private String email2;

    private String other;

    public long getOid() {
        return oid;
    }

    public void setOid(long oid) {
        this.oid = oid;
    }
    public long getTypeid() {
        return typeid;
    }

    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }
    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }
    public String getHomePhone() {
        return homePhone;
    }

    public void setHomePhone(String homePhone) {
        this.homePhone = homePhone;
    }
    public String getOfficePhone() {
        return officePhone;
    }

    public void setOfficePhone(String officePhone) {
        this.officePhone = officePhone;
    }
    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }
    public String getHomeZipcode() {
        return homeZipcode;
    }

    public void setHomeZipcode(String homeZipcode) {
        this.homeZipcode = homeZipcode;
    }
    public String getOfficeAddress() {
        return officeAddress;
    }

    public void setOfficeAddress(String officeAddress) {
        this.officeAddress = officeAddress;
    }
    public String getOfficeZipcode() {
        return officeZipcode;
    }

    public void setOfficeZipcode(String officeZipcode) {
        this.officeZipcode = officeZipcode;
    }
    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getEmail1() {
        return email1;
    }

    public void setEmail1(String email1) {
        this.email1 = email1;
    }
    public String getEmail2() {
        return email2;
    }

    public void setEmail2(String email2) {
        this.email2 = email2;
    }
    public String getOther() {
        return other;
    }

    public void setOther(String other) {
        this.other = other;
    }

    @Override
    public String toString() {
        return "MpContact{" +
            "oid=" + oid +
            ", typeid=" + typeid +
            ", name=" + name +
            ", sex=" + sex +
            ", company=" + company +
            ", homePhone=" + homePhone +
            ", officePhone=" + officePhone +
            ", homeAddress=" + homeAddress +
            ", homeZipcode=" + homeZipcode +
            ", officeAddress=" + officeAddress +
            ", officeZipcode=" + officeZipcode +
            ", mobile=" + mobile +
            ", email1=" + email1 +
            ", email2=" + email2 +
            ", other=" + other +
        "}";
    }
}
